package com.itheima.parameter;

public class parameterDemo5 {
    public static void main(String[] args) {
        fire();
        fire("米国");
        fire("米国",2);
    }
    public static void fire(){
        fire("岛国");
    }
    public static void fire(String country){
        fire(country,1);
    }
    public static void fire(String country,int Number){
        System.out.println("发射了"+Number+"枚武器给" + country);
    }
}
